package cn.hchaojie.spring.day02.service;

import org.springframework.stereotype.Service;

@Service
public class PostService {
	public void add() {

		System.out.println("add");

	}
	
	public String query() {
		System.out.println("query");
		
		return "post";
	}
	
	public void getPostById() {
		System.out.println("getById");
	}
	
	public void getPostList() {
		System.out.println("getByPost");
	}
	
	public void getPostLike() {
		System.out.println("getLike");
	}
	
	public void getByTitleAndId(String title, int id) {
		System.out.println("getByTitleAndId");
	}
}
